package com.chang.bootplus.vo;

import com.chang.bootplus.entity.UserDepart;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Data
@Accessors(chain = true)
public class UserDepartVO implements Serializable {


    @ApiModelProperty("id")
    private Long id;


    @ApiModelProperty("部门名")
    private String department;


    @ApiModelProperty("父级id")
    private Long parentId;

    @ApiModelProperty("子部门集合")
    private List<UserDepartVO> childrenList;


}
